home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
tx40e
/
setup.doc
< prev
next >
Wrap
Text File
|
1988-07-22
|
5KB
|
103 lines
NIFTY SET UP
-- HELP FILES
Help files may be set up with any editor capable of producing industry-
standard ASCII characters. GRAPHED is such an editor, but you may find your
favorite word processor to be more familiar. Whatever editor you use, make
sure that each line in the file you create is no more than 79 characters long.
Help files may be of any length, but the shorter, more concise ones are the
best.
-- MENUS
As a Help system, Nifty uses a file called HELP.MNU as it's primary menu.
As a Menu system, Nifty relies upon a file called MENU.MNU. Each of these
menus might refer to sub-menus that you can also set up.
Each file used as a menu must have the extension, ".MNU", and it must be
located in the Nifty directory. Only the MNU files need to be in the the Nifty
directory -- other programs and files accessed by Nifty may be located anywhere
on any drive.
Each menu (MNU) file should be set up with an ASCII editor (such as GRAPH-
ED). The first 24 lines of each file will be the portion that is shown to the
user whenever Nifty accesses that menu. You're free to use any format or lay-
out you desire in designing the first 24 lines. Wording and placement of the
choices that will be displayed to the Nifty user is completely up to you.
Somewhere in the first 24 lines, there should be one or more references to
the choices that the user may invoke by striking a single key. In other words,
the user should be advised that he needs press a single key to select one
choice or another.
Each line after the first 24 (the only ones shown to the user) should
contain an instruction for Nifty. There should be a separate instruction line
for each choice presented to the user (in the first 24 lines). Basically, an
instruction consists of three parts:
1: A number or letter corresponding to a menu choice; followed by
2: An action symbol ("=" or ">"); followed by
3: A file name (including the file extension and path, if appropriate).
The "=" sign indicates that whenever the right key is pressed, Nifty
should display the file whose name follows the "=" sign. If a help file's name
follows the "=" sign, that file will be shown to you. If another MENU's name
follows the "=" sign, Nifty will switch to that help menu and offer you the
choices contained therein. Examples:
A=AARDVARK.HLP
T=TREE.MNU
The first line tells Nifty to display the AARDVARK help file whenever "A" is
pressed. The second instructs the program to switch to the TREE menu and offer
you whatever choices it may contain.
The ">" sign indicates that whenever the right key is pressed, Nifty will
execute the program whose complete path name follows the ">" sign. This option
is available only when Nifty is being used as a Menu (since it's not appropri-
ate for a Help system to be able to execute external programs). Remember, the
complete path name must be used. For instance, if WordPerfect were located in
the WRDPRFCT directory of drive D, the path you should include in the MENU.MNU
file is, "D:\WRDPRFCT\WP.EXE". Examples:
W>D:\WRDPRFCT\WP.EXE
P>\COMMO\PROCOMM.EXE
D>DIR
F>FORMATA.BAT
The first line has already been discussed. The second instructs Nifty to exe-
cute PROCOMM (located in the COMM directory of the logged disk drive) whenever
"P" is pressed. The third line causes a directory listing of the current di-
rectory whenever "D" is pressed (no file extension or path information is need-
ed here, since DIR is an internal DOS command). The fourth line causes the
FORMATA.BAT batch file to be executed when "F" is pressed (since no path
information is given, this file is evidently located in the same subdirectory
as Nifty).
NOTE:
Be sure to include the full path, filename AND extension
for all BAT, COM, and EXE files. Though the program may often
function satisfactorily without a file extension, there may
occasionally be unpredictable results.
Remember that all paths begin with "\". You may get by
without entering a full path if, and ONLY if, that path is part
of the computer environment's general "PATH" statement -- see
your DOS book for details on the "PATH" statement.
Each menu file (MENU.MNU, HELP.MNU, and any others you set up) may have up
to 50 instruction lines following the first 24. The maximum number of choices
on each menu, therefore, is fifty. Sub-menus should be utilized if you have a
complicated Help or Menu system. The complete filename/extension/path refer-
enced on each line may have up to 30 characters. If 30 characters is not
enough room to specify a files's full path and name, you should instead specify
a batch file that will, in turn, specify the full path and file name.
If you're using Nifty as a Menu system, and you want to it execute a
complicated multi-step routine, you should place that routine into a batch file
and use Nifty to execute that batch file when the user presses the appropriate
key.